#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    button=new QPushButton("按钮",this);
    button->setGeometry(200,200,200,100);

    box=new QCheckBox(this);
    box->setText("复选框美化");
    box->setGeometry(50,50,200,100);
}

Widget::~Widget()
{
    delete ui;
}

